package com.powernode.service.impl;

import com.powernode.mapper.ZfbMapper;
import com.powernode.service.ZfbService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.powernode.domain.Zfb;

/**
*内容: 
*作者: cy
*/   
    
   
@Service
public class ZfbServiceImpl implements ZfbService {

    @Resource
    private ZfbMapper zfbMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return zfbMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Zfb record) {
        return zfbMapper.insert(record);
    }

    @Override
    public int insertSelective(Zfb record) {
        return zfbMapper.insertSelective(record);
    }

    @Override
    public Zfb selectByPrimaryKey(Integer id) {
        return zfbMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Zfb record) {
        return zfbMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Zfb record) {
        return zfbMapper.updateByPrimaryKey(record);
    }

    @Override
    public Zfb login(String name, String pwd) {
        return this.zfbMapper.login(name,pwd);
    }

}
